]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Run eslint-doc job unconditionally
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Jun 2025 11:59:12 +0000 (13:59 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Jun 2025 12:52:33 +0000 (14:52 +0200)
The job is meant to run when either the style guide or the eslint
configuration changes. That stopped working when the style guide
was renamed to docs/js-coding-style.md without updating the job
conditions, whoops.

The job isn't very expensive to run, so just run it unconditionally
to avoid these kinds of oversights in the future.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3745>

.gitlab-ci.yml

index f8f29803a97773cb7ce4f2bda14e0d7b671d3b57..126e0f83376071eade348661627d8da3f64451e0 100644 (file)
@@ -157,12 +157,6 @@ eslint-doc:
   script:
     - export NODE_PATH=$(npm root -g)
     - ./.gitlab-ci/eslint-coding-style.sh
-  rules:
-    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
-      changes:
-        - HACKING.md
-        - .eslintrc.yml
-        - lint/*
 
 potfile-c-check:
   extends: